package cn.tianyun.pethome.org.mapper;

import cn.tianyun.pethome.basic.util.PageList;
import cn.tianyun.pethome.org.domain.Detail;
import cn.tianyun.pethome.org.query.DepartmentQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DetailMapper {
    PageList<Detail> queryById(DepartmentQuery query);

    void add(Detail detail);

    void update(Detail detail);

    List<Detail> queryData(DepartmentQuery query);

    Long queryCount(DepartmentQuery query);

    void deleteById(Long id);
}
